package com.zzl.study.nacos.config;

import com.zzl.study.nacos.condition.ConditionalOnLoadBalancerNacos;
import com.zzl.study.nacos.condition.ConditionalOnNacosMultiDiscoveryEnabled;
import com.zzl.study.nacos.loadbalancer.NacosLoadBalancerClientConfiguration;
import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients;
import org.springframework.context.annotation.Configuration;

/**
 * Nacos负载均衡自动配置类
 *
 * @author: zhangzl
 * @date: 2025/7/16 19:46
 * @version: 1.0
 */
@Configuration(proxyBeanMethods = false)
@ConditionalOnLoadBalancerNacos
@ConditionalOnNacosMultiDiscoveryEnabled
@LoadBalancerClients(defaultConfiguration = NacosLoadBalancerClientConfiguration.class)
public class LoadBalancerNacosAutoConfiguration {
}
